package cn.tqfeiyang.springplus.system.response;

import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;

/**
 * 用户响应类
 *
 * @author tqfeiyang
 * @since 2024-08-01
 */
@Data
public class UserVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "密码")
    @JsonIgnore
    private String password;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "电话")
    private String phone;

    @Schema(description = "邮件")
    private String email;

    @Schema(description = "UUID")
    private String uuid;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "简介")
    private String introduction;

    @Schema(description = "是否有效")
    private Boolean enabled;

    @Schema(description = "版本号")
    private Integer version;

    @Schema(description = "删除标识")
    private Boolean deleted;

    @Schema(description = "创建人ID")
    private Long createId;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "修改人ID")
    private Long updateId;

    @Schema(description = "创建时间")
    private LocalDateTime updateTime;
}